package com.fanjia.demologin.dao;


import com.fanjia.demologin.entity.UserTest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户表(UserTest)表数据库访问层
 *
 * @author fanjia
 * @since 2021-03-10 15:17:27
 */
public interface UserTestDao {


    boolean insert(UserTest userTest);


    boolean isAccountExist(String account);

    String isPasswordCorrect(String account);

    boolean phoneIsExist(String phone);

    String getAccountbyPhone(String phone);

    boolean updatePasswordByPhone(UserTest userTest);
}